<?php
class WagesModel extends Orm_Base{
    public $table = 'wages';
    public $field = array(
        'id' => array('type' => "int(11) unsigned",'comment' => ''),
        'w_id' => array('type' => "int(11) unsigned",'comment' => '关联员工ID'),
        'basic_fee' => array('type' => "int(3)",'comment' => '基本工资'),
        'attendence_days' => array('type' => "tinyint(2)",'comment' => '实出勤天数'),
        'prefee' => array('type' => "int(3)",'comment' => '应发工资'),
        'payment' => array('type' => "int(3)",'comment' => '实发工资'),
        'is_issue' => array('type' => "tinyint(2)",'comment' => '是否发放工资'),
        'handlers' => array('type' => "varchar(20)",'comment' => '操作者'),
        'created' => array('type' => "int(11)",'comment' => ''),
        'updated' => array('type' => "int(11)",'comment' => ''),
    );
    public $pk = 'id';
}
?>
